package com.mall.shop.entity.coupon;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.Date;

/**
 * (HomeAdv)表实体类
 *
 * @author 龙茶清欢
 * @since 2023-01-15 14:24:59
 */
@Getter
@Setter
@TableName("sms_home_adv")
@Schema(name = "实体", description = "映射")
public class HomeAdv implements Serializable {
    private static final long serialVersionUID = -97059718411846300L;

    @TableId(value = "id" , type = IdType.AUTO)
    @Schema(description = "id")
    private Long id;

    @TableField(value = "name")
    @Schema(description = "")
    private String name;
    
    @TableField(value = "pic")
    @Schema(description = "ͼƬ")
    private String pic;
    
    @TableField(value = "start_time")
    @Schema(description = "")
    private Date startTime;
    
    @TableField(value = "end_time")
    @Schema(description = "")
    private Date endTime;
    
    @TableField(value = "status")
    @Schema(description = "״̬")
    private Integer status;
    
    @TableField(value = "click_count")
    @Schema(description = "")
    private Integer clickCount;
    
    @TableField(value = "url")
    @Schema(description = "")
    private String url;
    
    @TableField(value = "note")
    @Schema(description = "")
    private String note;
    
    @TableField(value = "sort")
    @Schema(description = "")
    private Integer sort;
    
    @TableField(value = "publisher_id")
    @Schema(description = "")
    private Long publisherId;
    
    @TableField(value = "auth_id")
    @Schema(description = "")
    private Long authId;
    
}

